From: James Addison Date: Tue, 9 Dec 2025 08:47:23 +0000 (+0100) Subject: Generate a deterministic gprofng example documentation tarball X-Git-Tag: archive/raspbian/2.45.50.20251209-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8b6392ec575375480282bb9318725b58cb67e854;p=binutils.git Generate a deterministic gprofng example documentation tarball Bug-Debian: https://bugs.debian.org/1090395 Bug-Debian: https://bugs.debian.org/1092870 Last-Update: 2025-01-13 Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff --- diff --git a/gprofng/doc/Makefile.am b/gprofng/doc/Makefile.am index 331b2686d..00e05e384 100644 --- a/gprofng/doc/Makefile.am +++ b/gprofng/doc/Makefile.am @@ -63,7 +63,7 @@ EXTRA_DIST = $(man_MANS) version.texi info: $(man_MANS) examples.tar.gz: - $(AM_V_at)( tar czf $@ $(srcdir)/../examples ) + $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples ) .PHONY: install-data-local diff --git a/gprofng/doc/Makefile.in b/gprofng/doc/Makefile.in index 6b7b32380..5f772b675 100644 --- a/gprofng/doc/Makefile.in +++ b/gprofng/doc/Makefile.in @@ -905,7 +905,7 @@ gprofng-display-gmon.1: $(srcdir)/gprofng-display-gmon.texi info: $(man_MANS) examples.tar.gz: - $(AM_V_at)( tar czf $@ $(srcdir)/../examples ) + $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples ) .PHONY: install-data-local